import { createApp } from 'vue'
import "./styles/index.scss";
import router from "./router"
import store from "./store"
import App from './App.vue'
// 路由权限拦截
import "./router/power.js"
// 全局方法
import antdesignvuePlug from "./antdesignPlug/index"
// 全局组件
import Render from "./layouts/render/index.vue"
// antdesign
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
// vxe-table
import VxeTable from 'vxe-table'
import 'vxe-table/lib/style.css'
// ...可选 UI
import VxeUI from 'vxe-pc-ui'
import 'vxe-pc-ui/lib/style.css'
// 自定义插件
import hasButton from "./plugins/directive.js"

const app = createApp(App)

app
.use(router)
.use(store)
.use(Antd)
.use(antdesignvuePlug)
.use(VxeTable)
.use(VxeUI)
.use(hasButton)
.component('a-render', Render)
.mount('#app')
